Pacify GCC 14 -Wstring-operflow in ftfont.c
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Apr 2024 08:20:13 +0000 (01:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Apr 2024 08:26:24 +0000 (01:26 -0700)
commit59a11116e013fb123ba074da9bca373c1aa03367
tree9cd6a55d352e4dbcd3d08590f014dec446c1a012
parent750dbccc12415fe525111cd11811d809fc830610
Pacify GCC 14 -Wstring-operflow in ftfont.c

* src/ftfont.c (ftfont_drive_otf): Do not crash if
spec->features[i] is nonnull but is empty.
Use gfeatures local to pacify GCC 14.
src/ftfont.c